package com.fdm.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping(value="/admin")
public class AdminController {
	@RequestMapping(value="/", method=RequestMethod.GET)
	public String homePage(){
		return "admin/home";
	}
	/*@RequestMapping(value="", method=RequestMethod.GET)
	public String homePage2(){
		return "admin/home";
	}*/
	@RequestMapping(value="/inventory.do", method=RequestMethod.GET)
	public String getInventoryPage(){
		return "admin/inventory";
	}
	
}
